package com.abel.demo.init;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * Author: Abel.lin
 * Date: 2019/8/22 18:20
 * Company: Abel.Studio
 * Copyright: Copyright (c) 2017
 * Description: 启动初始化
 */
@Component
public class InitApplicationRunner implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        //TODO: 此处可处理一些启动时需要执行的业务方法
        System.out.println("启动完成");
    }
}
